package com.zhixing.web.repository;

import com.zhixing.web.api.dataobject.entity.Rotation;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author dzh
 * @version 1.0.0.05020
 * <p>project: d-blog</p>
 * <p>created time: 2022/05/05 15:32</p>
 * <p>describe: 首页轮播图信息持久层</p>
 * <p>remarks: </p>
 **/
@Repository
public interface RotationRepository {

    @Select("select * from d_blog_rotation where del_sign = #{delSign} and is_show = #{isShow} order by pic_sort")
    List<Rotation> findAll(Rotation rotation);
}
